projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8df883e
)
dropdown: Make search entry shrink
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 27 Oct 2020 19:35:34 +0000
(15:35 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 27 Oct 2020 19:35:34 +0000
(15:35 -0400)
We don't want the popup to be wider than the button
if we can help it. The search entry does not need
to be very wide.
gtk/ui/gtkdropdown.ui
patch
|
blob
|
history
diff --git
a/gtk/ui/gtkdropdown.ui
b/gtk/ui/gtkdropdown.ui
index 562366355375464563996571cf85c23ec87a70a2..e2dbdaf4d152bc9bb1727363c75368ff19948712 100644
(file)
--- a/
gtk/ui/gtkdropdown.ui
+++ b/
gtk/ui/gtkdropdown.ui
@@
-59,6
+59,8
@@
<signal name="search-changed" handler="search_changed"/>
<signal name="stop-search" handler="search_stop"/>
<property name="visible">0</property>
+ <property name="max-width-chars">6</property>
+ <property name="width-chars">6</property>
<property name="placeholder-text" translatable="yes">Search…</property>
</object>
</child>